<template>
  <div>
    <h1>playground</h1>
    <slot-comp>
      <h2>哈哈</h2>
    </slot-comp>
    <slot-comp>
      <h2>黑黑</h2>
      <template #left="obj">
        <h1>{{ obj }}</h1>
        <h2>abc</h2>
      </template>
      <template #right="obj">
        <h1>{{ obj }}</h1>
        <h2>def</h2>
      </template>
    </slot-comp>
  </div>
</template>

<script>
import slotComp from './components/slot-comp.vue'
export default {
  components: { slotComp }

}
</script>

<style>

</style>
